#ifndef GLOBAL_H
#define GLOBAL_H
#include <cassert>
#include <cstdint>
#include <cstddef>

namespace tinyscript{

#define DISALLOW_COPY_AND_ASSIGN(c) \
    c ( const c& ); \
    void operator =( const c& )

template<typename T>
void USE(T t){ (void)(t); }

// Cache size for the memory pool which serves as the memory backend for
// parser and syntax tree node. By default, 1024 is used as the internal
// node cache size.
#define NODE_CACHE_SIZE 1024

// Every code will use the type char_t as default character code type.
// If this code has changed. The code base may need some modification.
// And for all the string, I just store them inside of std::string,this
// is another problem. Anyway, right now , I have no reason to port to
// multi-byte code.
typedef char char_t;

}// sscript

#endif // GLOBAL_H
